package excollection;

import java.util.HashSet;

/**
 * @author: knowno
 * @create: 2025-09-15 15:10
 * @Version 1.0
 **/
public class TestHashSetAutoCapi {
    public static void main(String[] args) {
        //创建一个HashSet集合
        HashSet hashSet = new HashSet();
        //扩容机制
        for (int i = 0; i <30 ; i++) {
            hashSet.add(i);
        }

    }
}
